<template>
  <div class="all">
    <!-- EquipmentInformationStatistics设备信息统计 -->
    <div class="inner">
      <div class="innerin">
          <!-- 水表数、故障数。用户名称  ,故障率 -->
        <div class="list">用户名称</div>
        <div class="list">水表数</div>
        <div class="list">故障数</div>
        <div class="list">故障率</div>
      </div>
    </div>
    <div class="inner">
      <div class="innerin" v-for="(item,index) in waterAnalysisTabList" :key="index">
        <div class="list">{{item.name}}</div>
        <div class="list">{{item.zong}}</div>
        <div class="list">{{item.count}}</div>
        <div class="list">{{item.guzhanglv}}</div>
      </div>
    </div>
  </div>
</template>
<script>
  import {
    flOrderManagementGetWater, //增加
  } from "@/api/baseManage/flMaintain/index";
export default {
    name:'onSiteWaterMeterMonitoring',
    components:{
    },
    name:'waterAnalysisTab',
    data(){
        return{
            waterAnalysisTabList:[]
        }
    },
    methods:{
        async getflOrderManagementGetWater(){
            const res = await flOrderManagementGetWater()
            this.waterAnalysisTabList = res.data
        }

    },
    watch:{
    },
    created(){
        this.getflOrderManagementGetWater()
    }

}

</script>
<style lang="scss" scoped>
.all {
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 0 0 25px 0;
  .inner {
    height: 50px;
    border-bottom: 1px solid #ccc;
    .innerin {
      width: 100%;
      height: 100%;
      display: flex;
      .list {
        flex: 1;
        display: flex;
        align-items: center;
        // border: 1px solid khaki;
        padding: 5px;
      }
      .state {
        color: #d7200e;
      }
    }
  }
}
</style>